<?php
     $dirURL = str_replace( '\\', '/', __DIR__);
     $path = explode($_SERVER['REQUEST_URI'], $dirURL); 
     $this->load->library('extjs');
    
?>

<html>
<head>
    <title>RND</title>
    <script type="text/javascript">
    var treeLoad =  [
        { text: "HRD", itemId:'trchild', id:'hrd', expanded: true, children: [
						{ text: "Master", leaf: false, expanded: true, children:[
							{ text: "City", leaf: true, panel:'hrd.City'},
							{ text: "Bank", leaf: true, panel:'hrd.Bank'}
						]},
                        
                    ] },
		{ text: "PLC", itemId:'trchildplc', id:'plc', expanded: true, children: [
						{ text: "Master", leaf: false, expanded: true, children:[
							{ text: "Master Registrasi UPB", leaf: true, panel:'plc.MasterRegistrasiUPB'},
							{ text: "Dokumentasi Bahan Baku", leaf: true, panel:'plc.DokumentasiBahanBaku'}
						]},
                        
                    ] },
        { text: "MTG", itemId:'trchildmtg', id:'mtg', expanded: true, children: [
						{ text: "Presentasi", leaf: false, expanded: true, children:[
							{ text: "Exploration", leaf: true, panel:'mtg.MtgExploration'},
							{ text: "Exploitation", leaf: true, panel:'mtg.MtgExploitation'}
						]},
                        
                    ] }
 ];
    </script>
    <?php echo  $this->extjs->setHeader(LIBPATH, $path[1]);?>
    <?php //echo  $this->extjs->setAppJs($path[1],'extjs/app.js');?>
    <script lang="javascript">
     
    </script>
    <?php echo  $this->extjs->setAppJs($path[1],'extjs/main.js');?>
   
</head>
<body>
</body>
</html>